
export interface loginFormData{
    username:string,
    password:string,
}

interface dataType{
    token:string
}

export interface loginResponseData{
    code: number
    data: dataType
}

interface userInfo{
    useId:number,
    avatar:string,
    username:string,
    password:string,
    desc:string,
    roles:string[],
    buttons:string[],
    router:string[],
    token:string
}

interface user{
    checkeUser: userInfo
}

export interface userInfoReponseData{
    code: number 
    data: user 
}

export interface registerFormData{
    id :  number,
    username:string,
    password:string,
    confirmPassword:string


    email:string,
    mobile:string
}
